﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;

namespace Scheduling.Models.Repos.Database.Objects
{
    public class LinqRoom
    {
        public DBRoom Room { get; set; }
        public IQueryable<RoomProperty> Properties { get; set; }
    }
    [Table(Name="Rooms")]
    public class DBRoom
    {
        [Column]
        public string ID { get; set; }

        [Column]
        public string Name { get; set; }

        [Column]
        public int? Capacity { get; set; }

        [Column]
        public string Description { get; set; }

        [Column]
        public RoomType? Type { get; set; }
    }
}